<script type="text/template" id="dialogMessageTemplate">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title"><%= title %></h4>
      </div>
      <div class="modal-body">
        <%= body %>
      </div>
      <div class="modal-footer">
        <button id="dialogMessage-cancel" type="button" class="btn btn-primary"><%= cancelText %></button>
        <%= submitExists %>
      </div>
    </div>
  </div>
</script>